import requests
import re


url = 'https://haowallpaper.com/link/common/file/getCroppingImg/17838304252448128'
response = requests.get(url)
print(response.status_code)
print(response.content)
with open('static/1.webp', 'wb') as f:
    f.write(response.content)